<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="config.jsp"%>
<%@page import="cn.gcxy.entity.Type"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
	<link rel="stylesheet" href="css/adminCommodityType.css"/>
<script type="text/javascript" src="${ctx}/js/adminCommodityType.js"></script>
</head>
<body>
	<div class="handler4">	
		<h3>商品类别管理</h3>
		<table class="myTable" >
			<tr class="tr1">
				<td class="th1"><span>编号</span></td>
				<td class="th2"><span>类表名称</span></td>
				<td class="th3"><span>父类编号</span></td>
				<td class="th4"><span>操作</span></td>
			</tr>
			<!-- <tr class="tr2">
				<td class="td1"><img alt="" src="images/-.gif">&nbsp<span>1</span></td>
				<td class="td2"><input type="text" value="计算机"> </td>
				<td class="td3"><span>0</span></td>
				<td class="td4"><button>修改</button><button>删除</button> </td>
			</tr>
			<tr class="tr3">
				<td class="td1"><span>2</span></td>
				<td class="td2"><input type="text" value="台式机"> </td>
				<td class="td3"><span>1</span></td>
				<td class="td4"><button>修改</button><button>删除</button> </td>
			</tr>
			<tr class="tr3">
				<td class="td1"><span>3</span></td>
				<td class="td2"><input type="text" value="笔记本"> </td>
				<td class="td3"><span>1</span></td>
				<td class="td4"><button>修改</button><button>删除</button> </td>
			</tr>
			<tr class="tr3">
				<td class="td1"><span>4</span></td>
				<td class="td2"><input type="text" value="掌上电脑"> </td>
				<td class="td3"><span>1</span></td>
				<td class="td4"><button>修改</button><button>删除</button> </td>
			</tr>
			<tr class="tr2">
				<td class="td1"><img alt="" src="images/-.gif">&nbsp<span>5</span></td>
				<td class="td2"><input type="text" value="数码产品"> </td>
				<td class="td3"><span>0</span></td>
				<td class="td4"><button>修改</button><button>删除</button> </td>
			</tr>
			<tr class="tr3">
				<td class="td1"><span>6</span></td>
				<td class="td2"><input type="text" value="数码摄像机"> </td>
				<td class="td3"><span>5</span></td>
				<td class="td4"><button>修改</button><button>删除</button> </td>
			</tr>
			<tr class="tr3">
				<td class="td1"><span>7</span></td>
				<td class="td2"><input type="text" value="数码照相机"> </td>
				<td class="td3"><span>5</span></td>
				<td class="td4"><button>修改</button><button>删除</button> </td>
			</tr> -->
		</table>
		<div class="addType">
			<div style="text-align: center;"><b>类别添加</b></div>
			<div class="left">
				<div>类别名称：&nbsp<input id="name" type="text" value="" /></div><br/>
				<div>类别别名：&nbsp<select id="typeSel">
								</select></div>
			</div>
			<div class="right">
				不能为空，类别名称长度3-15<br/><br/>
				如果添加的商品事父类，请选择父类别名为无
			</div>
			<div class="bottom">
				<button id="submit">提交</button>
				<button id="reset">重置</button>
			</div>
		</div>
		
	</div>
</body>
</html>